﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WorldConqueror.Contracts.Maths.DataContracts;

namespace WorldConqueror.Libraries.Maths.MathShapes
{
    public interface IMathCoordinate : ICoordinate, IMathShape
    {
        //bool IsContainedIn(IMathShape mathShape);
        //double DistanceTo(IMathShape mathShape);
    }


    public class MathCoordinate : Coordinate, IMathCoordinate
    {
        public MathCoordinate(ICoordinate coordinate)
            : this(coordinate.Latitude, coordinate.Longitude)
        {
           
        }

        public MathCoordinate(double latitude, double longitude)
        {
            this.Latitude = latitude;
            this.Longitude = longitude;
        }
        
        public double Area
        {
            get
            {
                return 0;
            }
            set
            { 
            }
        }

        public double Perimeter
        {
            get
            {
                return 0;
            }
            set
            {
            }
        }

    }
}
